package me.spring.cloud.common.components.util.net;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author luffy
 * @description: 内网ip段
 * @date 2019-09-06 11:26
 */
@Getter
@AllArgsConstructor
public enum ChinaIp {
  ip_36(607649792, "36.56.0.0", 608174079, "36.63.255.255"),
  ip_61(1038614528, "61.232.0.0", 1039007743, "61.237.255.255"),
  ip_106(1783627776, "106.80.0.0", 1784676351, "106.95.255.255"),
  ip_121(2035023872, "121.76.0.0", 2035154943, "121.77.255.255"),
  ip_123(2078801920, "123.232.0.0", 2079064063, "123.235.255.255"),
  ip_139(1950089216, "139.196.0.0", 1948778497, "139.215.255.255"),
  ip_171(1425539072, "171.8.0.0", 1425014785, "171.15.255.255"),
  ip_182(1236271104, "182.80.0.0", 1235419137, "182.92.255.255"),
  ip_210(770113536, " 210.25.0.0", 768606209, "210.47.255.255"),
  ip_222(569376768, " 222.16.0.0", 564133889, "222.95.255.255"),
  ;
  private long beg;
  private String begIp;
  private long end;
  private String endIp;
}
